import { Form, Input, InputNumber, Radio, Select } from 'antd';
import React, { useState } from 'react';
import an58 from '@mmstudio/an000058';
// import { Message as M1, Result as R1 } from '../api/teacher/add.api';
import api from '../../atoms/api';
import Button from '../../components/button';


export default function Add({ teacher, teachers }: {
	teacher: Pick<ITbteacherlist, 'teacher_id' | 'teachername'>[];
	teachers: Pick<ITbtheteacherisqualifiedforthecurriculum, 'coursename' | 'professionalname' | 'teachername' | 'teacher_id' | 'classgroup'>[];
}) {
	// const [d, setd] = useState({} as M1);
	const [visible, setvisible] = useState(false);
	return <>
		<div className='e'>
			<Button shape='round' type='primary' onClick={() => {
				setvisible(true);
			}} >新增</Button>
		</div>

		<style jsx>{`
		.e{
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 0.5rem 0;
}
		`}</style>
	</>;
}
